<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>configurationObjectPattern</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

<script>
$(document).ready(function () {
	
	// 함수를 정의한다.
	var sayHi = function (who) {
		return "Hello" + (who ? ", " + who : "") + "!";
	};
	
	// 함수를 호출한다.
	sayHi(); // "Hello"
	sayHi('world'); // "Hello, world!"
	
	// 함수를 적용(apply)한다.
	sayHi.apply(null, ["hello"]); // "Hello, hello!"
	
	
	
});

</script>

</head>
    <body>
	    <h3>설정 객체 패턴</h3>
    </body>
</html>